home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 37 / Amiga Format CD37 (1999-02-16)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-03].iso / -screenplay- / shareware / invasionforce / source / includes / graphics_protos.h < prev    next >
C/C++ Source or Header  |  1999-01-09  |  3KB  |  139 lines

  1. /* Prototypes for functions defined in
  2. graphics.c
  3.  */
  4.  
  5. extern USHORT __chip busy_pointer_data[36];
  6.  
  7. extern struct RastPort * rast_port;
  8.  
  9. extern struct BitMap grafx_bitmap;
  10.  
  11. extern struct BitMap hex_transfer;
  12.  
  13. extern UBYTE __chip transfer_bitmap[512];
  14.  
  15. extern struct hex_struct hexes[16];
  16.  
  17. extern struct icon_struct icons[30];
  18.  
  19. extern ULONG __chip hex_mask[32];
  20.  
  21. extern ULONG __chip banned_mask[13];
  22.  
  23. extern ULONG __chip battleship_mask[15];
  24.  
  25. extern ULONG __chip carrier_mask[15];
  26.  
  27. extern ULONG __chip cruiser_mask[15];
  28.  
  29. extern ULONG __chip destroyer_mask[15];
  30.  
  31. extern ULONG __chip sub_mask[15];
  32.  
  33. extern ULONG __chip transport_mask[15];
  34.  
  35. extern ULONG __chip fighter_mask[15];
  36.  
  37. extern ULONG __chip armor_mask[15];
  38.  
  39. extern ULONG __chip bomber_mask[15];
  40.  
  41. extern ULONG __chip aircav_mask[15];
  42.  
  43. extern ULONG __chip rifle_mask[15];
  44.  
  45. extern ULONG __chip city_mask[15];
  46.  
  47. extern ULONG __chip airbase_mask[15];
  48.  
  49. extern ULONG __chip landmine_mask[8];
  50.  
  51. extern ULONG __chip seamine_mask[10];
  52.  
  53. extern struct Region * map_region;
  54.  
  55. extern struct Region * bar_region;
  56.  
  57. void init_icons(void);
  58.  
  59. void px_outline_hex(int , int );
  60.  
  61. void px_plot_hex(int , int , int );
  62.  
  63. void wrap_coords(int * , int * );
  64.  
  65. void log_to_abs(int , int , int * , int * );
  66.  
  67. void abs_to_log(int , int , int * , int * );
  68.  
  69. void log_to_phys(int , int , int * , int * );
  70.  
  71. void outline_hex(int , int , int );
  72.  
  73. void wipe_hex(int , int , int );
  74.  
  75. void plot_hex(int , int , int );
  76.  
  77. void drawto(int , int , int , int , int );
  78.  
  79. void draw_road(int , int , int , int );
  80.  
  81. void bevel_box(int , int , int , int , BOOL );
  82.  
  83. void bevel_frame(int , int , int , int , BOOL );
  84.  
  85. void box(int , int , int , int , int );
  86.  
  87. void frame(int , int , int , int , BOOL );
  88.  
  89. void plot_text(int , int , char * , int , int , int , struct TextAttr * );
  90.  
  91. void outline_text(int , int , char * , int , struct TextAttr * );
  92.  
  93. void px_plot_landmine(int , int );
  94.  
  95. void px_plot_seamine(int , int );
  96.  
  97. void px_plot_icon(int , int , int , int , int , BOOL );
  98.  
  99. void plot_icon(int , int , int , int , int , BOOL );
  100.  
  101. void px_plot_city(int , int );
  102.  
  103. void px_plot_roads(int , int );
  104.  
  105. void px_plot_city_complete(int , int , int , BOOL );
  106.  
  107. void plot_city(int , int , int , BOOL );
  108.  
  109. void save_hex_graphics(int , int , int );
  110.  
  111. void restore_hex_graphics(int , int , int );
  112.  
  113. void plot_mapobject(int , int , int , int );
  114.  
  115. void init_map_grafx(void);
  116.  
  117. void zero_scrollers(void);
  118.  
  119. void update_scrollers(void);
  120.  
  121. BOOL scrolly(struct Gadget * , UWORD );
  122.  
  123. void fat_plot(struct RastPort * , int , int , int );
  124.  
  125. BOOL visible_stripP(int , int , int , int , int , int );
  126.  
  127. BOOL within_areaP(int , int , int , int , int , int );
  128.  
  129. BOOL visibleP(int , int );
  130.  
  131. BOOL easily_visibleP(int , int );
  132.  
  133. BOOL need_to_scrollP(int , int );
  134.  
  135. void clear_movebar(void);
  136.  
  137. void anim_move(struct Unit * , int , int , int , int );
  138.  
  139.